#!/usr/bin/python
# coding:utf-8

class Person:
	def __init__(self, name):
		self.name=name
	
	def sayhello(self):
		print 'My name is',self.name

if __name__ == '__main__':

#	p = Person('lee')
#	p.sayhello()
#	print id(p)

#	list 去重
#	a=[1,2,4,2,4,6,4,8,9,0]
#	b=set(a)
#	c=[i for i in b]
#	print c

#	list 去重
#	a=[1,2,4,2,4,5,7,10,5,5,7,8,9,0,3]
#	a.sort()
#	last=a[-1]
#	for i in range(len(a)-2, -1, -1):
#		if last == a[i]:
#			del a[i]
#		else:
#			last = a[i]
#	print a
